﻿<Window x:Class="ClientOverflow.ClientApplication.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="MainWindow" Background="Black">
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto"/>
            <RowDefinition Height="Auto"/>
        </Grid.RowDefinitions>
        <Menu Grid.Row="0" ItemsSource="{Binding MenusCommands}">
            <Menu.ItemTemplate>
                <DataTemplate>
                    <MenuItem Header="{Binding Name}" Command="{Binding}" />
                </DataTemplate>
            </Menu.ItemTemplate>            
        </Menu>
        <ContentPresenter Content="{Binding Content}"  Grid.Row="1" HorizontalAlignment="Left"/>
    </Grid>
</Window>
